package com.collection.api;

import java.util.List;
import java.util.Map;

import com.collection.api.entity.UBase;
import com.collection.api.entity.UBaseExample;


public interface UBaseService {

    int deleteByPrimaryKey(Long id);

    int insert(UBase record);

    int insertSelective(UBase record);

    List<UBase> selectByExample(UBaseExample example);

    UBase selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UBase record);

    int updateByPrimaryKey(UBase record);
    
    //审批用户加载
    List<Map<String, Object>> selectUbaseAll(String name,String idNo,String phone,String auditUserId,Integer id,
    		Integer offset, Integer limit,String auditTime1,String auditTime2, String status,String realName);
    
    //审批用户总条数
    int selectUbaseCount(String name,String idNo,String phone,String auditUserId,
    		String auditTime1,String auditTime2, String status,String realName);
    //经理审批用户加载
    List<Map<String, Object>> selectUbaseAllSH(String name,String idNo,String phone,Integer id,
    		Integer offset, Integer limit,String auditTime1,String auditTime2, String status,String realName,String type);
    //经理审批用户总条数
    int selectUbaseCountSH(String name,String idNo,String phone, 
    		String auditTime1,String auditTime2, String status,String realName,String type);
}